import typescript from "rollup-plugin-typescript2"; // 处理typescript

const config = [
    {
        input: "src/index.ts",
        output: [{ file: "dist/index.esm.js", format: "es" }],
        plugins: [typescript()],
    },
];

export default config;
